package com.sansui.blog.dao;

import com.sansui.blog.pojo.Notice;
import com.sansui.blog.pojo.sys.SysEmail;
import org.apache.ibatis.annotations.Mapper;

/**
 * @name: SysEmailDao
 * @author: Sansui
 * @Software: IDEA
 * @Blog: https://www.cnblogs.com/sansui6/
 * @date: 2022-11-25 17:49
 **/
@Mapper
public interface SysEmailDao {

    /**
     * 获取系统发信配置
     * @return
     */
    SysEmail getSysEmail();

    /**
     * 保存系统发信配置
     * @param sysEmail
     * @return
     */
    void updateEmail(SysEmail sysEmail);

    /**
     * 保存系统发信配置
     * @param sysEmail
     * @return
     */
    void saveEmail(SysEmail sysEmail);

}
